Part Number Hot Search : 
NZH16C JMC261 UPC2903 4CMC19 FZT749NL 55100 62256 TP533507
Product Description
Full Text Search
 

To Download SAA2501 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  d a t a sh eet preliminary speci?cation file under integrated circuits, ic01 january 1995 integrated circuits philips semiconductors SAA2501 digital audio broadcast (dab) decoder
january 1995 2 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 contents features 2 application 3 general description 4 ordering information 5 block diagram 6 pinning 7 functional description 7.1 coding system 7.2 basic functionality 7.3 SAA2501 clocks 7.4 crystal oscillator 7.5 clock frequencies when using the slave input 7.6 clock frequencies when using the master input 7.7 target applications; applying the SAA2501 with 2 iso/mpeg sources 7.8 buffered clock outputs 7.9 functionality issues 7.10 synchronization to input data bitstreams 7.11 master input bit rate selection 7.12 sample rate selection 7.13 handling of errors in the coded input data 7.14 sub-band filter signals 7.15 baseband audio processing 7.16 decoding control signals 7.17 coded data interfaces 7.17.1 the coded data master input interface 7.17.2 the coded data slave input interface 7.17.3 slave input transfer speed of first frame 7.17.4 slave input transfer speed of subsequent frames 7.18 the sub-band filter interface 7.19 the baseband output interface 7.20 the l3 control interface 7.20.1 l3 signals 7.20.2 l3 transfer types 7.20.3 l3 interface initialization at an SAA2501 device reset 7.20.4 l3 interface control 7.20.5 SAA2501 status 7.20.6 data items 7.20.6.1 general data items 7.20.7 SAA2501 settings item 7.20.8 input data frame header items 7.20.9 error report item 7.20.10 audio service synchronized data item 7.20.11 ancillary data/xpad item 7.20.12 apu coefficients item 7.20.13 speed limitations of the l3 interface 7.20.14 default item data values after reset 8 appendix 8.1 preliminary specification 3-line l3 interface 8.1.1 introduction 8.1.1.1 addressing mode 8.1.1.2 special function operational address 8.1.1.3 data mode 8.1.1.4 halt mode 8.1.2 device interface reset 8.1.3 extended addressing 8.1.3.1 operational address declaration 8.1.3.2 operational address invalidation 8.1.4 example of a data transfer 8.1.5 timing requirements 8.1.5.1 addressing mode 8.1.5.2 data mode 8.1.5.3 halt mode 8.2 SAA2501 l3 protocol enhancement options 8.2.1 testing l3rdy by polling l3data 8.2.2 options to increase the timing accuracy of the apu coefficient writing 9 limiting values 10 dc characteristics 11 ac characteristics 12 application information 13 package outline 14 soldering 14.1 plastic quad flat-packs 14.1.1 by wave 14.1.2 by solder paste reflow 14.1.3 repairing soldered joints (by hand-held soldering iron or pulse-heated solder tool) 15 definitions 16 life support applications
january 1995 3 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 1 features advanced error protection integrated audio post processing for control of signal level and inter-channel crosstalk demultiplexing of program associated data (pad) in the input bitstream automatic digital de-emphasis of the decoded audio signal separate master and slave inputs automatic sample frequency and bit-rate switching in master input mode automatic synchronization of input and output interface clocks in master input mode selectable audio output precision; 16, 18, 20 or 22 bit low power consumption decoded sub-band signal and error flag outputs for error concealment. 2 application digital audio broadcast systems as defined in eureka 147 . 3 general description the SAA2501 audio source decoder supports iso/iec mpeg layers i and ii and all dab specific features as described in eureka 147 draft specification (eu147) . 4 ordering information note 1. when using ir reflow soldering it is recommended that the drypack instructions in the quality reference handbook (order number 9398 510 63011) are followed. supply of this iso/iec 11172-3 audio standard layer i or layer ii compatible ic does not convey a licence nor imply a right under any patent, or any industrial or intellectual property right, to use this ic in any ready-to-use electronic product. type number package name description version SAA2501h qfp44 (1) plastic quad flat package; 44 leads (lead length 1.3 mm); body 10 10 1.75 mm sot307-2
january 1995 4 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 5 block diagram fig.1 functional block diagram. handbook, full pagewidth mbe112 SAA2501 clock generator trst tms tck tdo tdi reset sd 41 37 39 40 38 8 74 44 10 9 32 42 43 24 25 23 11 12 decoding control 1 26 synthesys subband filter bank and output processing input processor dequanti- zation and scaling processor cds 19 cdsef 20 cdscl 18 cdswa 21 cdssy 22 cdm 15 cdmef 14 cdmcl 16 cdmws 13 29 30 32 31 33 27 28 gnd3 fdef fdfsy fdao fdai sck ws 17 gnd2 6 gnd1 tc0 tc1 36 35 urda stop l3clk l3mode l3data fsclkm fsclk384 fsclk fsclkin x22out x22in mclk24 mclk mclkout mclkin v dd1 534 v dd2
january 1995 5 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 6 pinning symbol pin description type reset 1 master reset input i fsclk 2 sample rate clock output; buffered signal o fsclkin 3 sample rate clock signal input (see table 1) i mclk 4 master clock output; buffered signal o v dd1 5 supply voltage 1 - gnd1 6 ground 1 - mclkout 7 master clock oscillator output o mclkin 8 master clock oscillator input or signal input i x22out 9 22.579 mhz clock oscillator output o x22in 10 22.579 mhz clock oscillator input or signal input i stop 11 stop decoding input i urda 12 unreliable data input; interrupt decoding i cdmws 13 coded data (master input) word select output o cdmef 14 coded data (master input) error ?ag input i cdm 15 iso/mpeg coded data (master input) i cdmcl 16 coded data (master input) bit clock output o gnd2 17 ground 2 - cdscl 18 coded data (slave input) bit clock i cds 19 iso/mpeg or eu147 (see table 8) coded data (slave input) i cdsef 20 coded data (slave input) error ?ag i cdswa 21 coded data (slave input) burst window signal i cdssy 22 coded data (slave input) frame sync i l3clk 23 l3 interface bit clock input i l3data 24 l3 interface serial data input/output i/o l3mode 25 l3 interface address/data select input i sd 26 baseband audio i 2 s data output o fdef 27 ?lter data error ?ag output o gnd3 28 ground 3 - sck 29 baseband audio data i 2 s clock output o ws 30 baseband audio data i 2 s word select output o fdao 31 ?lter data output o fdai 32 ?lter data input i fdfsy 33 ?lter data output frame sync o v dd2 34 supply voltage 2 - tc1 35 do not connect; factory test control 1 input, with integrated pull-down resistor i tc0 36 do not connect; factory test control 0 input, with integrated pull-down resistor i tdo 37 boundary scan test data output o trst 38 boundary scan test reset input; this pin should be connected to ground for normal operation i tck 39 boundary scan test clock input i
january 1995 6 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 tms 40 boundary scan test mode select input i tdi 41 boundary scan test data input i fsclk384 42 sample rate clock frequency indication input i fsclkm 43 sample rate clock source selection for the master input i mclk24 44 master clock frequency indication input i symbol pin description type fig.2 pin configuration (qfp44). d book, full pagewidth 1 2 3 4 5 6 7 8 9 10 11 33 32 31 30 29 28 27 26 25 24 23 12 13 14 15 16 17 18 19 20 21 22 44 43 42 41 40 39 38 37 36 35 34 fdfsy fdai fdao ws sck gnd3 fdef sd l3mode l3data l3clk mclk24 fsclkm fsclk384 tdi tms tck trst tdo tc0 tc1 v reset fsclk fsclkin mclk v gnd1 mclkout mclkin x22out x22in stop dd1 urda cdmws cdmef cdm gnd2 cdscl cds cdsef cdswa cdssy cdmcl SAA2501 dd2 mbe113 7 functional description 7.1 coding system the perceptual audio encoding/decoding scheme defined within the iso/iec 11172-3 mpeg standard allows for a high reduction in the amount of data needed for digital audio whilst maintaining a high perceived sound quality. the coding is based upon a psycho-acoustic model of the human auditory system. the coding scheme exploits the fact that the human ear does not perceive weak spectral components that are in the proximity (both in time and frequency) of loud components. this phenomenon is called masking. for layers i and ii of iso/mpeg the broadband audio signal spectrum is split into 32 sub-bands of equal bandwidth. for each sub-band signal a masking threshold is calculated. the sub-band samples are then re-quantized to such an accuracy that the spectral distribution of the re-quantization noise does not exceed the masking threshold. it is this reduction of representation accuracy which yields the data reduction. the re-quantized sub-band signals are multiplexed, together with ancillary information regarding the actual re-quantization, into a mpeg audio bitstream.
january 1995 7 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 during decoding, the SAA2501 de-multiplexes the mpeg audio bitstream, and with knowledge of the ancillary information, reconstructs and combines the sub-band signals into a broadband audio output signal. 7.2 basic functionality from a functional point of view, several blocks can be distinguished in the SAA2501. a clock generator section derives the internally and externally required clock signals from its clock inputs. the SAA2501 can switch between a master and a slave input interface to receive the coded input data. the input processor parses and de-multiplexes the input data stream. the de-quantization and scaling processor performs the transformation and scaling operations on the sample representations in the input bitstream to yield sub-band domain samples. the sub-band samples are transferred via an external detour to the synthesis sub-band filter bank processor. the detour can be used to process the decoded audio in the sub-band domain. the baseband audio samples, reconstructed by the sub-band filter bank, can be processed before being output. the decoding control block houses the l3 control interface, and handles the response to external control signals. the l3 control interface enables the application to configure the SAA2501, to read its decoding status, to read program associated data, and so on. several pins are reserved for boundary scan test and scan test purposes. 7.3 SAA2501 clocks the SAA2501 clock interfacing is designed for application versatility. it consists of 10 signals (see table 1). from a functional point of view, the clock generator inside the device can be represented as shown in fig.3. as described above, the SAA2501 incorporates a master input interface on which it requests for coded input data itself, as well as a slave input interface for an imposed coded data input bitstream. the input interface is selected with flags msel0 and msel1, controlled via the l3 microcontroller interface. depending on the selected input interface, only a limited number of the three possible input clocks (mclkin, x22in and fsclkin) is actually required. the various clock options are selected with the 3 external control signals mclk24, fsclkm and fsclk384. these control signals must be stationary while the device reset signal at pin reset is de-activated; changing any of these 3 signals without simultaneously resetting the SAA2501 can result in malfunctioning. table 1 clock interfacing signals signal direction function mclkin input master clock oscillator input or signal input mclkout output master clock oscillator output mclk output master clock output; buffered signal mclk24 input master clock frequency indication input: mclk24 = 0; mclkin frequency is 12.288 mhz (256 48 khz) mclk24 = 1; mclkin frequency is 24.576 mhz (512 48 khz) x22in input 22.5792 mhz (512 44.1 khz) clock oscillator input or signal input x22out output 22.5792 mhz (512 44.1 khz) clock oscillator output fsclkin input sample rate clock signal input fsclk output sample rate clock signal input; buffered signal fsclk384 input sample rate clock signal frequency indication input: fsclk384 = 0; fsclkin frequency is 256f s fsclk384 = 1; fsclkin frequency is 384f s fsclkm input sample rate clock source selection when using the master input: fsclkm = 0; use mclkin or x22in as source fsclkm = 1; use fsclkin as source
january 1995 8 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 7.4 crystal oscillator the recommended crystal oscillator configuration is shown in fig.4. the specified component values only apply to crystals with a low equivalent series resistance of <40 w . fig.3 SAA2501 clock generator. italics: internal signal designation. handbook, full pagewidth fsclkm fsclk384 mclk24 fsclk fsclkin x22out x22in mclk mclkout mclkin sck ws 2 3 2 c = 48 khz c = 32 khz c = 44.1 khz c c = 0 c = 1 c 1 osc osc control divider in out 12.288 or 24.576 mhz 22.5792 mhz s 256f or 384f s control control s 256f or 384f s c = 0 c = 1 c control 4 6 64 64f s f s 00 msel1 msel0 (l3) a=b a b 0: use master input 1: use slave input to input interfaces fckena (l3) mckdis (l3) internal master clocks decoded sample rate index mgb491 256f s
january 1995 9 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 handbook, full pagewidth SAA2501 10 9 8 7 r1 x1 c2 c1 r4 x2 r3 c3 c4 mbe114 r2 fig.4 crystal oscillator components. c1 = c2 = 33 pf; r1=r4=1m w ; r2=r3=1k w ; x1 = 22.5792 mhz; x2 = 24.5760 mhz or 12.2880 mhz the specified component values only apply to crystals with a low equivalent series resistance of <40 w . 7.5 clock frequencies when using the slave input if the slave input is used (msel1 and msel0 = 10 or 11), the SAA2501 clock sources are mclkin and fsclkin and x22in is not used. the i 2 s clocks sck and ws are generated by the SAA2501 from fsclkin. fsclkin may be designated to have a frequency of 256 times (indicated by fsclk384 = 0) or 384 times (indicated by fsclk384 = 1) the sample frequency of the coded input data. master clock signal mclkin may be chosen to have a frequency of 12.288 mhz (indicated by mclk24 = 0) or 24.576 mhz (indicated by mclk24 = 1). mclkin and fsclkin do not have to be phase or frequency locked. if the application is based on a sample frequency of 48 khz or 32 khz, and a sample rate related clock of 12.288 mhz (256 48 khz; 384 32 khz) is available, this can be taken advantage of by using this signal for both mclkin and fsclkin. 7.6 clock frequencies when using the master input if the master input is used (msel1 and msel0 = 00), one out of two configurations is selected with signal fsclkm with respect to the clock sources: 1. if fsclkm = 0, mclkin and x22in are the clock sources. fsclkin is not used in this configuration. fsclk384 must be set to logic 0 for reasons of internal connections in the clock generator circuitry. mclkin may have only frequency 24.576 mhz (so mandatory accompanied by mclk24 = 1), and x22in must have a frequency of 22.5792 mhz. mclkin and x22in do not have to be phase or frequency locked. the main advantage of this configuration is that the SAA2501 determines automatically which sample rate is active from the sampling rate setting of the input data bitstream, and then selects either mclkin or x22in as the clock source for the i 2 s clocks sck and ws. this configuration is therefore particularly suited in applications with more than one possible sample rate setting. 2. if fsclkm = 1, the configuration is comparable to the configuration when using the slave input (see section 7.5). mclkin and fsclkin are used as the clock sources, and x22in is not required. mclkin may again have a frequency of 12.288 mhz (indicated by mclk24 = 0) or 24.576 mhz (indicated by mclk24 = 1), and fsclkin may have a frequency of 256 times (indicated by fsclk384 = 0) or 384 times (indicated by fsclk384 = 1) the sample frequency of the input data. mclkin and fsclkin do not have to be phase or frequency locked. 7.7 target applications; applying the SAA2501 with 2 iso/mpeg sources in table 2 the three target applications of the SAA2501 are summarised. the slave input application is labelled s, and the master input applications are labelled m0 and m1.
january 1995 10 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 2 target applications notes 1. fsclkin must be locked to input data clock cdscl; see section 7.17.2. 2. fsclkin is not used, but fsclk384 must be low. 3. must be electrically defined; e.g. low. attribute conditions application slave input master input input interface conditions s (1) m0 (2) m1 fsclkm x 0 1 mclkin mclk24 = 1 24.576 mhz 24.576 mhz 24.576 mhz mclk24 = 0 12.288 mhz illegal 12.288 mhz x22in note 3 22.579 mhz note 3 fsclkin fsclk384 = 1 384f s illegal 384f s fsclk384 = 0 256f s note 3 256f s fsclk fckena = 1 (l3) copy of fsclkin 256f s copy of fsclkin sections 7.5 and 7.6 explain which clock sources are activated by the SAA2501 depending on the selected input interface. this automatic clock source selection makes it easy to apply the SAA2501 in systems with two iso/mpeg coded data sources (one connected to the master input, an one to the slave input), even if these data sources use different clocks. 7.8 buffered clock outputs the SAA2501 provides a signal mclk which is a buffered version of mclkin. mclk can be set to 3-state by setting the l3 control interface flag mckdis to 1 in applications where mclk is not needed. signal fsclk is copied from the fsclkin input for application types s and m1 or generated with a frequency of 256f s by the SAA2501 for application type m0. after a device reset, fsclk must be enabled explicitly by setting l3 flag fckena, or can alternatively be left 3-stated in applications where it is not needed. after a device reset, mclk is enabled; fsclk is disabled (i.e. both mckdis and fckena are set to logic 0). 7.9 functionality issues the SAA2501 fully complies with iso/mpeg layer i and ii and eu147 with the slave input. with the master input, the SAA2501 complies with iso/mpeg layer i and ii, excluding the free format bit rate. several aspects of the decoding process, as well as the audio post-processing features, offered by the SAA2501, are described in more detail in section 7.10. 7.10 synchronization to input data bitstreams after a reset, the SAA2501 mutes both sub-band and baseband audio data. after data inputting has started, the SAA2501 searches either for a sync pattern or a sync pulse. the speed at which input data is read by the master input to search for synchronization is described below. if the application is such that the SAA2501 starts at a random moment in time compared to the bitstream, maximal one frame is skipped before a synchronization pattern or pulse is encountered. when the SAA2501 has detected the first synchronization word or pulse, a number of frames are decoded in order to verify synchronization; the input data for these frames is read and decoded, but meanwhile the audio output is muted. the number of muted frames depends on the input data format (iso/mpeg or eu147), whether the iso/mpeg cyclic redundancy check (crc) is active, and whether the bit rate is free format. if the synchronization is found to be false, the SAA2501 resumes the initial synchronization as described above. if the detected pulse/pattern is concluded to be a real synchronization pulse/pattern, table 3 indicates the number of muted frames.
january 1995 11 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 3 muted frames crc minimum number of muted frames during synchronization free format bit rate non-free-format bit rate no crc 2 1 crc 1 0 7.11 master input bit rate selection as explained in section 7.10, the SAA2501 can be used to alternate between two applications: one with the slave input, and one with the master input. when using the master input, the SAA2501 should fetch data with the effective bit rate, but cannot know what the bit rate of the input data is until it has established synchronization. to overcome this paradox, the input requesting is done at the last selected bit rate. after a device reset, the master input bit rate selection defaults to the value indicated in table 4. table 4 defaults master input bit rate note 1. x = dont care. fsclkm fsclk384 fsclkin default master input bit rate (kbits/s) 00 x (1) 384 1 0 256 32 khz 278.64 1 384 32 khz 0 256 44.1 khz 384 1 384 44.1 khz 0 256 48 khz 417.96 1 384 48 khz when fsclkm = 0, the default master input bit rate is 384 kbits/s. when fsclkm = 1, the SAA2501 uses signal fsclkin to derive the selected bit rate, but it has no indication concerning the sample rate corresponding to fsclkin. therefore, a bit rate of 384 kbits/s is selected at an assumed sample rate of 44.1 khz; with other sample rates, the bit rate changes proportionally. the consequence is that while the SAA2501 synchronises (e.g. after a device reset), the application must at least be able to supply at the given default bit rate the required number of frames plus one additional frame (because of the random decoding start point in the input bitstream). buffers in the application must thus be chosen sufficiently large to prevent under or overflows. the speed with which input data is requested by the master input is changed by the SAA2501 in each of the following cases: 1. when input synchronization is established after checking a number of frames and the bit rate index of the newly decoded bitstream indicates a different bit rate than that currently selected. in this event, the bit rate is adapted to the newly decoded index. 2. when the active input interface is changed from the master to the slave input, or the signal stop is activated; in these events input requesting stops. 3. when the active input interface is changed from the slave to the master input, or the signal stop is deactivated; the bit rate is set to the last selected master input bit rate (the last selected master input bit rate is memorised while using the slave input). in all other events (e.g. when the SAA2501 goes and stays out of synchronization), the data requesting speed of the master input is maintained. 7.12 sample rate selection when using the slave input, or when using the master input with fsclkm = 1, the application must know the sample rate: fsclkin must be applied, which has a frequency which is a multiple of the sample rate; the (sample rate dependent) i 2 s timing signals sck and ws are generated from fsclkin. these configurations will normally be used in applications with a fixed sample rate. should the sample rate change, then the SAA2501 must be reset.
january 1995 12 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 when using the master input with fsclkm = 0, the SAA2501 selects the active sample rate autonomously, and generates the signals sck and ws from its crystal clocks. after a device reset, the SAA2501 selects a sample rate of 44.1 khz by default. sck and ws may, and will only, show phase or frequency changes in any of the following 3 situations: 1. when the SAA2501 establishes synchronization with the coded data input bitstream. 2. when the active input interface is changed from the master input with fsclkm = 0 to the slave input (i.e. the timing source for the generation of sck and ws is switched from the crystal clocks to fsclkin). 3. when the active input interface is changed from the slave input to the master input with fsclkm = 0 (i.e. the timing source for the generation of sck and ws is switched from fsclkin to the crystal clocks); the sample rate is set to the last selected sample rate that was used with the master input (the last selected sample rate is memorized while using the slave input). in all other cases, sck and ws keep on running without phase or frequency changes, and the sample rate selection remains unchanged. 7.13 handling of errors in the coded input data the SAA2501 can handle errors in the input data. errors are assumed to be present in 3 events: 1. if errors are indicated with the coded input data error flag cdsef and/or cdmef. 2. on crc failure if iso/mpeg error protection is active. 3. if input bitstream syntax errors are detected. errors in the input data have an effect on the decoding process if the corrupted data is inside the header, bit allocation or scale factor select information field in a frame (then the SAA2501 will mute) or inside the scale factor field (then the previous scale factor will be copied). errors in other data fields are not handled explicitly. if the iso/mpeg crc is active, only the crc result is interpreted: cdsef/cdmef un-reliability indications for bit allocation and scale factor select information are neglected. in applications where the iso/mpeg crc is always present, the protection bit (which itself is not protected) in the iso/mpeg header may be overruled by making l3 settings flag crcact high. in this manner, the SAA2501 is made robust for data errors on the protection bit. 7.14 sub-band ?lter signals the decoded sub-band signals are output, together with an error indication so that concealment can be applied externally. the optionally concealed sub-band signals are put back into the SAA2501 for synthesis filtering. 7.15 baseband audio processing the baseband audio de-emphasis as indicated in the iso/mpeg input data is performed digitally inside the SAA2501. the incorporated audio processing unit (apu) (see fig.5) can be used to apply inter-channel crosstalk or independent volume control per channel. the apu attenuation coefficients ll, lr, rl and rr may be changed dynamically by the host microcontroller, writing their 8-bit indices to the SAA2501 over the l3 control bus. the coefficient changes become effective within one sample period after the coefficient index writing. to avoid clicks at coefficient changes, the transition from the current attenuation to the next is smoothed. the relation between the apu coefficient index and the actual coefficient (i.e. the gain) is given in table 5.
january 1995 13 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 5 apu coef?cient index and actual coef?cient apu coefficient index c apu coefficient binary decimal 00000000 to 00111111 0 to 63 01000000 to 01111110 64 to 126 01111111 127 0 1xxxxxxx 128 to 255 reserved 2 c 12 ------ C 2 c32 C 6 ---------------- - C fig.5 audio processing unit (apu). h andbook, halfpage left decoded audio samples lr ll rl left output audio samples right decoded audio samples rr right output audio samples mgb493 from table 5 we learned that up to coefficient index 64 the step size is approximately - 0.5 db per coefficient increment, and from coefficient index 64 to index 126 the step size is approximately - 1 db per increment. note that the apu has no built-in overflow protection, so the application must take care that the output signals of the apu cannot exceed 0 db level. for an update of the apu coefficients, it may be required to increase some of the coefficients and decrease some others. the apu coefficients are always written sequentially in the fixed sequence ll, lr, rl and rr. therefore, to prevent internal apu data overflow due to non-simultaneous coefficient updating, the following steps can be followed: 1. write ll, lr, rl, rr once, but change only those coefficients that must decrease; overwrite the coefficients that must increase with their old value (so do not change these yet). 2. write ll, lr, rl, rr again, but now change those coefficients that must increase, keeping the other coefficients unchanged. the consequence of this two-pass coefficient updating is that the application must keep a shadow of the current apu coefficients (the l3 apu coefficients data item is write-only). fig.6 relation between apu coefficient index and gain. (1) step - 0.5 db per coefficient increment. (2) step - 1 db per coefficient increment. handbook, full pagewidth mgb494 94 64 126 127 32 0 0 gain (db) apu coefficient index (1) (2)
january 1995 14 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 7.16 decoding control signals the decoding is performed by 3 signals as shown in table 6. table 6 signals for decoding control the master reset signal reset forces the SAA2501 into its default state when high. reset must stay high during at least 24 mclkin periods if mclkin has frequency of 24 mhz (i.e. mclk24 = 1) or 12 mclkin periods if mclkin has a frequency of 12 mhz (mclk24 = 0). at a reset, the SAA2501 synchronization to the input bitstream is lost, the sub-band filter and baseband audio output signals are muted, and the SAA2501 settings are initialized. the decoding can be stopped by making input signal stop high. stopping the decoding forces the SAA2501 to end decoding of input data, yet feeding zeroed sub-band samples to the synthesis sub-band filter bank to create a soft muting. when using the master input, input requesting is also stopped. cdmws stays in its current state while stop is asserted. the SAA2501 assumes the input synchronization to be lost when the decoding is stopped, thus causing re-synchronization when stop is signal direction function (1) reset reset SAA2501 to default state stop input stop decoding urda input unreliable input data; interrupt decoding de-activated again. then the SAA2501 mutes, meanwhile searching for a frame sync pattern or frame sync pulse (the synchronization mode is selected via the l3 control bus) at the input. if synchronization is found, the SAA2501 starts producing output data. the maximum response time to the activation of signal stop is half a sample period; the re-synchronization time after stop going low again differs in various situations. an unreliable data indication can be given to the SAA2501 by making signal urda high. urda, like stop, mutes the sub-band signals and forces the SAA2501 out of synchronization. however, in contrast to stop, master input data requesting continues at the bit rate that was decoded before urda became active. the maximum response time to urda is half a sample period. 7.17 coded data interfaces the SAA2501 contains: a coded data master input interface a coded data slave input interface (designed for eu147 format). 7.17.1 t he coded data master input interface when using the master input, the SAA2501 requests for input data. with the master input, the coded input data may not use the iso/mpeg free format bit rate or be in eu147 format. the coded data master input interface consists of 4 signals (see fig.7).
january 1995 15 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 7 signals of coded data master input interface signal direction function cdm input iso/mpeg coded input data (master input) cdmef input coded data (master input) error ?ag cdmcl output coded data (master input) bit clock cdmws output coded data (master input) word select fig.7 input data serial transfer format (master input). handbook, full pagewidth cdmws cdmcl cdmef cdm 1 2 16 17 n 1 2 1 unreliable data bit (example) valid data valid but unreliable data invalid data mgb495 data clock cdmcl is being output, having a fixed frequency of 768 khz. signal cdm carries the coded data in bursts of 16 valid bits. coded data input frames may only start either at the first or at the ninth bit of a 16 bit valid data burst (i.e. only at a byte boundary). the value of word select signal cdmws is changed every time new input data is needed: one cdmcl period after each transition in cdmws, 16 bits of valid data are read serially. assume n is the number of cdmcl periods between two transitions of cdmws, and r is the number of cdmcl periods to obtain the effective bit rate e (in kbits/s) at a transferring data rate of 768 kbits/s, i.e. . the SAA2501 r 16 768 e ---------------------- = keeps n close to r, but n can vary plus or minus two: n ? {round(r) - 2,...,round(r)+2}. error flag cdmef is used to indicate input data insecurities (e.g. due to erratic channel behaviour). in fig.7, an example with one unreliable bit is shown. the value of cdmef may vary for each valid data bit, but is combined by the SAA2501 for every group of 8 input bits. 7.17.2 t he coded data slave input interface the coded data slave input interface signals are shown in fig.8. the coded data master input interface consists of 5 signals (see table 8).
january 1995 16 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 8 signals of coded data slave input interface signal direction function cds input iso/mpeg or eu147 coded input data (slave input) cdsef input coded data (slave input) error ?ag cdscl input coded data (slave input) bit clock cdswa input coded data (slave input) burst window signal cdssy input coded data (slave input) frame sync fig.8 input data serial transfer format (slave input). cdssy indicates frame start during valid data. handbook, full pagewidth cdswa cdscl cdssy mgb496 cdsef cds valid data valid but unreliable data invalid data frame start 1 unreliable data bit (example) cds is the SAA2501 input data bitstream. data clock cdscl must have a frequency equal to or higher than the bit rate. the maximum cdscl frequency is 768 khz. error flag cdsef is handled in the same way as cdmef is handled for the master input (in fig.8, one unreliable data bit is shown as an example). the value of cdsef is neglected for those bits where cdswa is low. window signal cdswa being high indicates valid data; in this way, burst input data is allowed. the constraints for the ability to use burst signals are explained later in this section 7.17.2. frame sync signal cdssy indicates the start of each input data frame. cdssy is synchronous with cdscl. cdssy may be present or not: as described later in this section 7.17.2. the first valid cds bit after a leading edge of cdssy is interpreted to be the first frame bit. the minimum time for cdssy to stay high is one cdscl period; the maximum high period is constrained by the requirement that cdssy must be low at least during one cdscl period per frame (a leading edge, i.e. a frame start indication, must be present every frame). leading edges of cdssy can occur while cdswa is high, as in fig.8. alternatively, a situation as shown in fig.9 is also allowed, where cdssy has a leading edge while cdswa is low, i.e. during invalid data. the first cds bit after cdswa going high is now interpreted to be the first frame bit.
january 1995 17 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 fig.9 input data serial transfer format (slave input). cdssy indicates frame start at next valid data. handbook, full pagewidth cdswa cdscl cdssy cds frame start mgb497 valid data invalid data whether frame sync signal cdssy is present or not must be selected with l3 settings flags msel1 and msel0 (see section 7.20.7). with respect to the presence of cdssy, two situations can be distinguished: 1. for eu147 coded input data cdssy is mandatory. 2. for iso/mpeg input data if cdssy is supplied, cdswa may change each cdscl period. 3. if cdssy is not supplied, cdscl must have a frequency higher than the bit rate (i.e. cdswa cannot be continuously high), and cdswa high periods may have only lengths of a multiple of 8 cdscl periods: data is input in byte bursts. furthermore, these bursts must be byte aligned with the frame bounds: frames are only allowed to start at the 1 st , 9 th , 17 th etc. bit in a valid data burst. for applications where data is input in bursts of exactly one frame, and where cdscl has a higher frequency than the bit rate, cdswa and cdssy may be interconnected. 7.17.3 s lave input transfer speed of first frame both the average and the instantaneous speed at which data is transferred to the slave input interface are limited. the data transferring of the first iso/mpeg or eu147 frame after starting to decode is shown in fig.10. it shows the transferring of n-frame bits in one frame between time 0 and t, where t corresponds to 384 sample periods (iso/mpeg layer i input data) or 1152 sample periods (iso/mpeg layer ii input data). buffer margin b equals 16 bytes (128 bits). in fig.10 an effective transferring characteristic is drawn, representing any of the possible iso/mpeg bit rates. however, input data may be transferred at a higher-than-effective speed (in other words: cdscl may have a higher frequency than the effective bit rate) in periods during which cdswa is high, interleaved with invalid data periods where cdswa is low. in the example of fig.9 this is used to transfer the data of the frame in two bursts, as shown by the actual transferring characteristic. the actual transferring characteristic has a slope equal to the cdscl frequency while cdswa is high, and is horizontal during the periods in which cdswa is low (no bits are being transferred).
january 1995 18 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 fig.10 slave input data transferring for the first frame. (1) the actual transferring characteristics of all frames are restricted to this area. (2) effective transferring characteristic (example). (3) actual transferring characteristic of the first frame (example). n dbook, full pagewidth transferred input frame bits n t time (3) b b b b slope: cdscl frequency (1) 0 mgb498 slope: effective input bit rate (2) slope: maximum input bit rate the shaded area in fig.10 represents the restrictions to the actual transferring characteristic of all frames. the actual transferring characteristic may not undercut the effective transferring characteristic by more than b bits to avoid an input underflow. on the other hand, the actual transferring characteristic may not cross the shown upper limit of the shaded area to prevent an input buffer overflow. the slope of this upper limit is determined by the maximum effective input bit rate (depending on the input data format). table 9 summarizes the slopes as determined by the bit rates supported by iso/mpeg and eu147. table 9 slopes determined by bit rates supported by iso/mpeg and eu147 note 1. achieved using the free format option and the minimum amount of the side information that must be iso/mpeg and eu147 layer effective input bit rate (kbits/s) transferring upper limit slope (kbits/s) iso/mpeg layer i 13.3 (1) to 448 448 iso/mpeg layer ii 3.5 (1) to 384 384 transmitted (this means using single channel mode, no crc and 32 khz sample rate). 7.17.4 s lave input transfer speed of subsequent frames the SAA2501 starts decoding as soon as enough data of the first iso/mpeg or eu147 input data frame has been received. thus the start moment of decoding depends on the actual transferring characteristic of the first frame. decoding start times of subsequent input data frames are also governed by this initial start time. for this reason the transferring characteristic of all subsequent frames must approximate the characteristic of the first frame within the buffer margin b. for the example shown in fig.10, subsequent frames must be transferred within the shaded area shown in fig.11.
january 1995 19 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 fig.11 slave input data transferring for subsequent frames, referenced to the first frame. (1) the actual transferring characteristics of all subsequent frames are restricted to this area. (2) effective transferring characteristic (example). (3) actual transferring characteristic of the first frame (example). handbook, full pagewidth transferred input frame bits n t time (2) b b b b (3) (1) 0 mgb499 slope: effective input bit rate slope: cdscl frequency note that the actual transferring characteristics of all frames must also remain inside the shaded area of fig.11. 7.18 the sub-band ?lter interface as mentioned earlier, decoded signals in the sub-band domain (before synthesis filtering) are available externally for processing. the associated interface has an i 2 s-like format (see fig.12). the filter data interface uses 6 signals as shown in table 10.
january 1995 20 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 10 signals of ?lter data interface signal direction function fdao output ?lter data output fdef output ?lter data error ?ag fdai input ?lter data input (optionally processed) sck output ?lter data (output/input common) bit clock; i 2 s clock output ws output ?lter data (output/input common) word select; i 2 s fdfsy output ?lter data output frame synchronization fig.12 filter data serial transfer format. handbook, full pagewidth ws sck fdao 1 left sample 24 msb lsb 22526 32 fdai 1 right sample msb 2 fdfsy ws mlc400 012 30 31 0 1 sub-band lrlr valid data undefinied data two sub-band samples (one per channel) are transmitted per sample period with output fdao. the transmission pattern of the samples s [sb, ch] (sb: sub-band index; ch: channel) is: s [0, l], s [0, r], s [1, l], s [1, r],..., s [31, r], s [0, l], s [0, r], etc. word select signal ws indicates the channel of each sample (ws is also used for the baseband audio output interfacing). the sub-band sample bit clock sck has a frequency of 64 times the sample frequency. the sub-band samples are transmitted in 24 bit two's complement pulse code modulation (pcm) form, msb first. thus, of the available 32 fdao bits per sample per channel, only 24 are used. the msb of a sample follows one sck period after each transition in ws. the 8 unused bits between individual samples in fdao are zero (sck is used for the baseband audio output interface as well). the optionally processed sub-band data signal is fed back as input fdai in a similar format as fdao, but now the 8 unused bits between individual samples are undefined; they are neglected by the SAA2501. a leading edge in signal fdfsy indicates the start of each fdao frame. the length of each fdfsy pulse is one sample period; fdfsy is high during a s[0,l] and s[0,r]
january 1995 21 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 pair. signal fdef being high indicates muting of fdao due to input data errors (see fig.13). fdef can only change value at each fdfsy leading edge, i.e. after each 384 sample periods (iso/mpeg layer i input data) or 1152 sample periods (iso/mpeg layer ii input data): only whole frames are marked to be correct or muted. as shown in detail in fig.13, transitions of fdfsy and fdef take place one sck period before a trailing edge of ws. the optionally processed sub-band data fdai must be synchronous to sck and ws. furthermore, the sub-band index of the fdai samples must be synchronized to fdfsy: a sub-band logic 0 sample pair must be input when fdfsy is high (as shown in fig.12). this means that the delay of the external processing is allowed to be any integer multiple of 32 sample periods. if no external processing is to be applied, fdao must be input back directly to fdai. 7.19 the baseband output interface the decoded baseband audio data is output in an i 2 s-like format (see fig.14). the output interfacing consists of 3 signals (see table 11). fig.13 filter data error flag (fdef) timing. handbook, full pagewidth ws fdfsy fdef sck ws fdfsy fdef sck ws fdfsy fdef 1234 mlc401 384 (layer i) 1152 (layer ii) 1 2
january 1995 22 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 fig.14 baseband output data serial transfer format. handbook, full pagewidth ws sck sd msb left sample lsb msb right sample lsb 1 16/18/20/22 32 1 16/18/20/22 32 valid data mgb502 table 11 signals of output interfacing the frequency of clock sck is 64 times the sample frequency (sck is also used for the sub-band filter interface). the signal sd is the serial baseband audio data, sample by sample (left/right interleaved; the left sample and the right immediately following it form one stereo pair). 32 bits are transferred per sample per channel. the samples are transmitted in two's complement, msb first. the output samples are rounded to either 16, 18, 20 or 22 bit precision, selectable by the host with l3 control interface flags rnd1 and rnd0. the remainder of the 32 transferred bits per sample per channel are zero. the word select signal ws indicates the channel of the output samples (low if left, high if right); ws is used for the sub-band filter interface as well. if indicated in the coded input data, de-emphasis filtering is performed digitally on the output data, thus avoiding the need of analog de-emphasis filter circuitry. 7.20 the l3 control interface the SAA2501 uses the l3 protocol with the associated bus as the control interface with an optional host microcontroller (see chapter 8 for more information). in signal direction function sd output baseband audio data sck output data clock ws output word select the programming sections a general transfer protocol outline is presented. in section 8.2 several optional protocol enhancements are given, which on the one hand are less transparent from the applicant's point of view, but on the other hand increase the efficiency of the l3 interfacing. 7.20.1 l3 signals the l3 protocol uses 3 signals (see table 12). table 12 signals of l3 protocol the signals operate according to the l3 protocol description. after each device reset, the l3 interface of the SAA2501 must be initialised and as a consequence, the l3 interface cannot be used while the device reset signal is activated. signal direction function l3data input/output l3 interface serial data l3clk input l3 interface bit clock l3mode input l3 interface address/data select
january 1995 23 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 7.20.2 l3 transfer types the l3 protocol enables the reading and writing of control, status and data. in the l3 protocol, the host first issues an 8 bit wide operational address on l3data while keeping l3mode low. all devices connected to the l3 bus read the operational address. next, data transfers from or to the host are done while keeping l3mode high. the devices with an l3 operational address differing from the issued one must ignore these data transfers until the next operational address is issued. only the device with an address equal to the issued operational address performs the transfer. the SAA2501 has the l3 operational address as shown in table 13. table 13 l3 operational address. note 1. the data operation mode bits dom1 and dom0 determine the mode in which the SAA2501 l3 interface will stay until the next time an l3 operational address is issued (see table 14). 76543210 011000 dom1 (1) dom0 (1) table 14 dom1 and dom0 bits control bytes can be written to the SAA2501. data is transferred to or from the SAA2501 in so-called data items. the items can be a readable or writeable type. a data item transfer is initiated by writing the dom1 dom0 transfer type 0 0 write item data 0 1 read item data 1 0 write control to SAA2501 1 1 read SAA2501 status corresponding control byte to the SAA2501 first. next, the item data itself is transferred, always as an integer number of bytes. the status of the SAA2501 can be read via l3. the SAA2501 status flag l3rdy must be monitored before transferring data item bytes to avoid transferring bytes faster than the l3 interface of the SAA2501 can handle. 7.20.3 l3 interface initialization at an SAA2501 device reset figure 15 shows the mandatory actions that must be taken for correct l3 interface start-up at a device reset. fig.15 l3 interface initialization procedure. handbook, full pagewidth reset l3mode l3clk 12 3 mgb503
january 1995 24 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 the actions shown in fig.15 are: 1. in order for the SAA2501 to keep l3data in 3-state, l3mode must be kept low during the whole period that reset signal at pin reset is asserted; meanwhile, no transfers can be performed (l3clk stays high). 2. for a proper initialization of the l3 interface logic of the SAA2501, it is mandatory to make l3mode high and low again after the device reset has been de-activated. this must be done before any l3 transfer, even to or from other devices than the SAA2501, is performed. figure 14 shows that l3clk stays high during this step. 3. now the first transfer can be performed on the l3 bus. this transfer must be a operational address (indicated in fig.14 by l3mode = 0), addressing any of the devices connected to the l3 bus. the first transfer to the SAA2501 itself must always be either the writing of a control word or the reading of the SAA2501 status; the first transfer may never be a data item byte transfer. remark: any deviation from these steps may result in illegal l3 protocol behaviour of the SAA2501, even with the possibility of disturbing transfers to other devices connected to the l3 bus. 7.20.4 l3 interface control the control of the SAA2501 l3 interface is performed with one-byte control words. status polling is not necessary before writing control bytes. after writing the SAA2501 write control operational address, one or more control bytes may be written. each written control byte overrules the previously sent control byte. table 15 l3 control the definitions of the control bytes (ctrl7 to ctrl0) are given in table 16. table 16 explanation of control bytes note 1. control bytes of type i initiate the transfer of a data item. the control byte of type c may be used after interrupting a transfer, in order to write apu coefficients, to return to the interrupted transfer. 76543210 ctrl7 ctrl6 ctrl5 ctrl4 ctrl3 ctrl2 ctrl1 ctrl0 ctrl7 to ctrl0 definition type (1) 00000000 read/write SAA2501 settings item i 00000001 read decoded frame header item i 00000010 read used frame header item i 00000011 read error report item i 00000100 reserved i 00000101 read ancillary data item i 00000110 write apu coef?cients item i 00000111 continue previous transfer c 00001000 to 11111111 reserved -
january 1995 25 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 7.20.5 SAA2501 status the host can check the status of the SAA2501 by reading the one-byte status word. after writing the SAA2501 read status operational address, the status byte may be read an arbitrary number of times. if status is read more than once, it is updated by the SAA2501 between the individual readings. the status flags of the SAA2501 have the definition as shown in table 17. table 17 status ?ag de?nitions notes 1. by interpreting dst2 to dst0, the host can synchronize to the input frame frequency, and also determine at which moment which l3 data item is available to be read. the value of dst2 to dst0 is only valid if flag insync is set. a) dst2 is a modulo 2 frame counter, i.e. dst2 inverts at the moment the decoding of a new frame is started. dst2 enables to host to sample the decoding subprocess dst1 to dst0 less frequently, meanwhile enabling the host to see if it missed a state. b) dst1 and dst0 values are explained in table 18. 2. insync is synchronization indication: a) insync = 0; the SAA2501 is not synchronized to the input data. b) insync = 1; the SAA2501 is synchronized to the input data. 3. as indicated in section 7.20.8, some of the readable data item bits only have significance if insync = 1. 4. l3rdy is l3 interface ready indication: a) l3rdy = 0; the l3 interface cannot perform a new item data transfer yet. b) l3rdy = 1; the l3 interface is ready for the next item data transfer. after a device reset, l3rdy is cleared and will only become set after writing the first l3 control byte to the SAA2501. the value of l3rdy can be tested by polling signal l3data instead of transferring the whole status byte. table 18 status bytes dst1 and dst0 the dst1 and dst0 values in general do not have a determined duration. however, subprocess 3 takes at least 1 2 a frame period when iso/mpeg layer i data is decoded, and 5 6 of a frame period when iso/mpeg layer ii data is decoded. table 19 indicates the validity of the SAA2501 readable data items with respect to the decoding subprocess. reading of a data item in a period when it is not valid renders undefined data. 76543210 dst2 (1) dst1 (1) dst0 (1) unde?ned unde?ned unde?ned insync (2)(3) l3rdy (4) dst1 dst0 function 0 0 subprocess 0; reading ancillary data or decoding header 0 1 subprocess 1; decoding bit allocation or scale factor select information 1 0 subprocess 2; decoding scale factors 1 1 subprocess 3; decoding samples
january 1995 26 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 19 validity of SAA2501 readable data items with respect to the decoding subprocess (notes 1 and 2) notes 1. the table shows following: a) the received ancillary data that was multiplexed in frame n - 1 becomes valid after subprocess 0 of frame n, and may be read during subprocesses 1, 2 and 3 of frame n. b) the decoded and used frame headers for frame n become valid after subprocess 0 of frame n, and may be read during subprocesses 1, 2 and 3 of frame n. c) flag balok for frame n in the error report item becomes valid after subprocess 1 of frame n, and may be read during subprocesses 2 and 3 of frame n and subprocess 0 of frame n+1. d) flag decfm for frame n in the error report item becomes valid after subprocess 2 of frame n, and may be read during subprocesses 3 of frame n and 0 of frame n+1. 2. note that during subprocess 3 all data items can be read. SAA2501 is decoding frame n SAA2501 is decoding frame n + 1 dst2 = 0; subprocess dst2 = 1; subprocess 01230123 not valid ancillary data item (frame n - 1) not valid --- frame header items (frame n) --- - not valid error report: balok (frame n) not valid -- - not valid error report: decfm (frame n) not valid - 7.20.6 d ata items data can be transferred to or from the SAA2501 in data items. this section describes the general protocol to accomplish item data transfer, followed by the individual SAA2501 data items. optional enhancements on the general protocol are described in chapter 8 section 8.2. 7.20.6.1 general data items the data items of the SAA2501 are transferred (i.e. read or written, depending on whether the data item is of readable or writeable type) in bytes. a data item transfer is initiated by writing the corresponding type i control byte (see section 7.20.4) to the SAA2501. the transfer of every subsequent item data byte must be preceded by reading the status until status flag l3rdy (see section 7.20.5) is high. l3rdy may be tested alternatively by polling l3data, avoiding the need to transfer the whole status byte. status polling is not required while transferring the apu coefficients item. table 20 shows an example of how bytes dddddddd of a 2 byte data item, with the corresponding control byte cccccccc, can be read. the writing of item data bytes occurs in a similar way.
january 1995 27 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 20 example of a 2 byte data item note 1. explanation of bytes: a) cccccccc = control byte. b) ssssssss = status byte. c) dddddddd = data byte. each data item has its own length in bytes. it is allowed to transfer less bytes than the data item length, skipping the last one or more bytes (it is even allowed to transfer no bytes at all). it is not allowed to transfer more bytes than the item length. this restriction does not hold for the apu coefficient item. after writing all apu coefficients (i.e. after writing all apu coefficient item bytes), they may be rewritten by continuing writing bytes to the apu coefficient item. writing more than the specified number of bytes to a writeable data item or writing bytes to a read-only data item may cause the SAA2501 to malfunction. the reading of a write-only data item yields irrelevant data. l3data (1) transfer source l3mode explanation 01100010 host 0 indicates write control transfer cccccccc host 1 write transfer initiating (type i) control byte 01100011 host 0 indicates read status transfer ssssssss SAA2501 1 read status (repeat step 4 until l3rdy = 1) 01100001 host 0 indicates read item data transfer dddddddd SAA2501 1 read ?rst item data byte 01100011 host 0 indicates read status transfer ssssssss SAA2501 1 read status (repeat step 8 until l3rdy = 1) 01100001 host 0 indicates read item data transfer dddddddd SAA2501 1 read second item data byte
january 1995 28 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 7.20.7 SAA2501 settings item the SAA2501 is configured with the SAA2501 settings. the initial value of the SAA2501 settings after reset is all zeros. table 21 SAA2501 settings item; 1 byte (read/write) notes 1. msel1 and msel0; these bits select the used input interface, the input data format and the input synchronization type (see table 22). 2. crcact; automatic/forced crc activity: a) crcact = 0; the SAA2501 uses the protection bit in the iso/mpeg frame header to determine the presence of the crc. b) crcact = 1; the SAA2501 assumes the crc always to be present. the protection bit in the used iso/mpeg frame header is forced to 0. 3. mckdis; buffered master clock mclk disabling: a) mckdis = 0; enable mclk. b) mckdis = 1; disable (3-state) mclk. 4. fckena; buffered 256f s or 384f s output signal fsclk enabling: a) fckena = 0; disable (3-sate) fsclk. b) fckena = 1; enable fsclk. 5. selch2; with dual channel mode input data (with other modes of input data dont care: a) selch2 = 0; select channel i. b) selch2 = 1; select channel ii. 6. rnd1 and rnd0; these bits select the rounding of the baseband audio output samples (see table 23). table 22 msel1 and msel0 table 23 rnd1 and rnd0 76543210 msel1 (1) msel0 (1) crcact (2) mckdis (3) fckena (4) selch2 (5) rnd1 (6) rnd0 (6) msel1 msel0 used input interface input synchronization 0 0 master to iso/mpeg synchronization pattern 0 1 eu147 to synchronization signal cdssy 1 0 slave to iso/mpeg synchronization pattern 1 1 slave to synchronization signal cdssy rnd1 rnd0 output sample rounding length 0 0 16 bits 0 1 18 bits 1 0 20 bits 1 1 22 bits
january 1995 29 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 7.20.8 i nput data frame header items information about the input data, derived by the SAA2501 from the input data frame headers, may be read from the frame header items. both the frame header bytes decoded from the input bitstream and the header bytes used for the actual decoding may be read. the decoded frame header item is valid independent of the value of status flag insync, it e.g. shows the decoded headers while the SAA2501 is in the process of synchronizing. the used frame header item is only valid if status flag insync is set. the used header bytes are derived by the SAA2501 from the decoded header bytes by overruling nopr to 0 if settings bit crcact = 1, and overruling detected errors. table 24 decoded input data frame header item; 3 bytes (read-only) table 25 used input data frame header item; 3 bytes (read-only) notes to table 24 and table 25 1. sy3 to sy0; last 4 bits of the synchronization word. for iso/mpeg only; undefined for eu147 input data. 2. id; algorithm identification. for iso/mpeg only; undefined for eu147 input data. 3. lay1; layer most significant bit (msb). for iso/mpeg only; undefined for eu147 input data. 4. lay0; layer least significant bit (lsb). when decoding eu147 input data these bits are undefined in the decoded header byte and equal 0 in the used header byte. 5. nopr; crc on header, bit allocation and scale factor select information activity flag. when decoding eu147 input data these bits are undefined in the decoded header byte and equal 0 in the used header byte. 6. br3 to br0; bit rate index. 7. fs1 and fs0; sample rate index. 8. mod1 and mod0; mode. 9. modx1 and modx0; mode extension. 10. copr; copyright flag. 11. orig; original or home copy flag. 12. emph1 and emph0; audio de-emphasis, these bits are only meant to monitor the current de-emphasis mode; the corresponding de-emphasis is performed by the SAA2501 automatically before the baseband audio signal is output. subsequent bytes 765432 1 0 decoded header byte 1 sy3 (1) sy2 (1) sy1 (1) sy0 (1) id (2) lay1 (3) lay0 (4) nopr (5) decoded header byte 2 br3 (6) br2 (6) br1 (6) br0 (6) fs1 (7) fs0 (7) unde?ned unde?ned decoded header byte 3 mod1 (8) mod0 (8) modx1 (9) modx0 (9) copr (10) orig (11) emph1 (12) emph0 (12) subsequent bytes 765432 1 0 used header byte 1 111111lay0 (4) nopr (5) used header byte 2 br3 (6) br2 (6) br1 (6) br0 (6) fs1 (7) fs0 (7) unde?ned unde?ned used header byte 3 mod1 (8) mod0 (8) modx1 (9) modx0 (9) copr (10) orig (11) emph1 (12) emph0 (12)
january 1995 30 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 7.20.9 e rror report item the validity of bit allocation plus scale factor select information and the result of the scale factor crcs (the latter only when decoding eu147 input data) may be read from the error report item. the error report item is only valid if status flag insync is set. table 26 error report item; 1 byte (read-only) notes 1. balok; bit allocation and scale factor select information validity indication: a) balok = 0; bit allocation or scale factor select information are incorrect, or the crc (if active) over header, bit allocation and scale factor select information fail. b) balok = 1; bit allocation or scale factor select information are correct, and the crc (if active) over header, bit allocation and scale factor select information passes. 2. decfm; frame skipping/decoding indication: a) decfm = 0; the current input data frame is skipped, and the corresponding baseband audio output frame is muted due to input data errors or inconsistencies. however, synchronization to the input data is maintained. b) decfm = 1; the current frame is decoded normally. 3. sfnok is invalid when decoding iso/mpeg input data. when decoding eu147 input data: a) sfnok = 0; then one or more scale factors have been concealed in sub-band block (n). b) sfnok = 1; no scale factors in sub-band block (n) are concealed (i.e. the error checking has passed). blocks 0 to 3 are explained in table 27. subsequent bytes 76543210 error report balok (1) decfm (2) unde?ned unde?ned sf3ok (3) sf2ok (3) sf1ok (3) sf0ok (3) table 27 content of blocks 0 to 3 7.20.10 a udio service synchronized data item when decoding eu147 input data, the audio service synchronized data (assd), which is contained in each frame, may be read. the subsequent assd bytes are read in reverse order with respect to the input bitstream; the first assd item byte is the last byte in the input bitstream. the assd item is only valid when the status flag insync is set. block sub-bands 0 0 to 3 1 4 to 7 2 8 to 15 316to31
january 1995 31 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 28 assd item; 2 bytes (read-only) the assd item and the (extended) program associated data [(x)pad] item (see section 7.20.11) may be read together as a single item. 7.20.11 a ncillary d ata /xpad item the last 54 bytes of each iso/mpeg frame, which may carry ancillary data (ad), are buffered by the SAA2501 to be read by the host. the subsequent ancillary data bytes are read in reversed order with respect to their order in the input data bitstream. the first item data byte is the last frame byte in the input bitstream. the ancillary data item is refilled at every frame. the host must either know or determine itself how many of the ancillary data bytes are valid per frame. the ancillary data item only has significance if status flag insync is set. table 29 ancillary data item; 54 bytes (read-only) likewise, when eu147 input data is being decoded, the pad and xpad bytes contained in each frame may be read, with the 2 pad bytes first, followed by a maximum of 52 xpad bytes. the subsequent pad and xpad bytes are read in reversed order with respect to their order in the input data bitstream. the first item data byte is the last pad byte in the input bitstream. the host must determine itself how many of the xpad bytes are valid per frame by interpretation on the pad. the (x)pad item only contains significant data if status flag insync is set. table 30 (x)pad item; 54 bytes (read-only) 7.20.12 apu coefficients item the apu coefficients are set by writing their 8 bit indices to the 4-byte apu coefficient item. only the 7 lsbs are valid. the msb must be zero. at a device reset, indices ll and rr are set to 00000000 (no attenuation) and indices lr and rl to 01111111 (infinite attenuation; no crosstalk). subsequent bytes 76543210 assd bytes 1 and 2 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 subsequent bytes 76543210 ad byte 1 to ad byte 54 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 subsequent bytes 76543210 pad byte 1 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pad byte 2 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 xpad bytes 1 to 52 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
january 1995 32 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 31 apu coef?cients item; 4 bytes (write-only); see note 1 note 1. multiple options are supplied by the SAA2501 to increase the timing accuracy of the apu coefficient writing (see section 8.2). subsequent bytes 76543210 apu coef?cient ll 0 ll.6 ll.5 ll.4 ll.3 ll.2 ll.1 ll.0 apu coef?cient lr 0 lr.6 lr.5 lr.4 lr.3 lr.2 lr.1 lr.0 apu coef?cient rl 0 rl.6 rl.5 rl.4 rl.3 rl.2 rl.1 rl.0 apu coef?cient rr 0 rr.6 rr.5 rr.4 rr.3 rr.2 rr.1 rr.0 7.20.13 s peed limitations of the l3 interface when reading the status of, or writing control bytes to the SAA2501, no status polling is necessary, so the speed of these transfers is only limited by the maximum frequency of signal l3clk and the timing constraints of the l3 protocol. when reading or writing data item bytes, status polling is necessary. in addition to the speed limitation this poses, the application must take precautions that individual data item bytes are transferred at an interval of at least 200 m s. neither the status polling nor a minimum interval between transfers is required when transferring the apu coefficient item. 7.20.14 d efault item data values after reset at a device reset, the l3 interface initialization procedure must be followed. all writeable data items are pre-loaded with a defined default value after the device reset signal has been de-activated. these default values are summarized in table 32. table 32 SAA2501 settings item; default value after device reset (notes 1 to 6) notes 1. msel1 = 0 and msel0 = 0; the master input is selected. the SAA2501 synchronizes to the iso/mpeg synchronization pattern. 2. crcact = 0; the SAA2501 uses the protection bit in the iso/mpeg frame header to determine if the crc is active. 3. mckdis = 0; the buffered master clock output mclk is enabled. 4. fckena = 0; the buffered 256f s or 384f s clock output is disabled. 5. selch2 = 0; when decoding input data with dual channel mode, channel i is output on both baseband audio output channels. 6. rnd1 = 0 and rnd0 = 0; the baseband audio output signals are rounded to 16 bit. subsequent bytes 76543210 SAA2501 settings msel1 msel0 crcact mckdis fckena selch2 rnd1 rnd0 value 0 0 0 0 0000
january 1995 33 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 33 apu coef?cients item; default values after device reset notes 1. ll = 00000000; no attenuation in the left-to-left apu path. 2. lr = 01111111; infinite attenuation in the left-to-right apu path. 3. rl = 01111111; infinite attenuation in the right-to-left apu path. 4. rr = 00000000; no attenuation in the right-to-right apu path. subsequent bytes 76543210 apu coef?cient ll (1) 0 ll.6 = 0 ll.5 = 0 ll.4 = 0 ll.3 = 0 ll.2 = 0 ll.1 = 0 ll.0 = 0 apu coef?cient lr (2) 0 lr.6 = 1 lr.5 = 1 lr.4 = 1 lr.3 = 1 lr.2 = 1 lr.1 = 1 lr.0 = 1 apu coef?cient rl (3) 0 rl.6 = 1 rl.5 = 1 rl.4 = 1 rl.3 = 1 rl.2 = 1 rl.1 = 1 rl.0 = 1 apu coef?cient rr (4) 0 rr.6 = 0 rr.5 = 0 rr.4 = 0 rr.3 = 0 rr.2 = 0 rr.1 = 0 rr.0 = 0 8 appendix 8.1 preliminary speci?cation 3-line l3 interface 8.1.1 i ntroduction the main purpose of the new interface definition is to define a protocol that allows for the transfer of control information and operational details between a microcontroller and a number of slave devices, at a rate that exceeds other common interfaces, but with a sufficient low complexity for application in consumer products. it should be clearly noted that the current interface definition is intended for use in a single apparatus, preferably restricted to a single printed circuit-board. the new interface requires 3 signal lines (apart from a return ground) between the microcontroller and the slave devices (from this the name l3 is derived). these 3-lines are common to all ics connected to the bus: l3mode, l3data and l3clk. l3mode and l3clk are always driven by the microcontroller, l3data is bidirectional: table 34 the 3-lines common to all ics; l3mode, l3clk and l3data notes 1. l3mode is used for the identification of the operation mode. 2. l3clk is the bit clock to which the information transfer will be synchronized. 3. l3data will carry the information to be transferred. all slave devices in the system can be addressed using a 6-bit address. this allows for up to 63 different slave devices, as the all 0 address is reserved for special purposes. in addition it is possible to extend the number of addressable devices using extended addressing. signal microcontroller slave device l3mode (1) output input l3clk (2) output input l3data (3) output/input input/output
january 1995 34 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 during operation 2 modes can be identified: 1. addressing mode (am). during addressing mode a single byte is sent by the microcontroller. this byte consists of 2 data operation mode (dom) bits and 6 operational address (oa) bits. each of the slave devices evaluates the operational address. only the device that has been issued the same operational address will become active during the following data mode. the operation to be executed during the data mode is indicated by the two data operation mode bits. 2. data mode (dm). during data mode information is transferred between microcontroller and slave device. the transfer direction may be from microcontroller to slave (write) or from slave to microcontroller (read). however, during one data mode the transfer direction cannot change. 8.1.1.1 addressing mode in order to start an addressing mode the microcontroller will make the l3mode line low. the l3clk line is put to the low state 8 times and the data line will carry 8 bits. the addressing mode is ended by making the l3mode line high. table 35 preferred allocations dom1 dom0 function remarks 0 0 data from microcontroller to SAA2501 general purpose data transfer 0 1 data from SAA2501 to microcontroller general purpose data transfer 1 0 control from microcontroller to SAA2501 e.g. register selection for data transfer 1 1 status from SAA2501 to microcontroller short device status message handbook, halfpage 01234567 l3mode l3clk l3data mgb505 fig.16 addressing mode. the meaning of the bits on l3data. bit 0 and bit 1; these are the data operation mode (dom) bits that indicate the nature of the following data transfer. each slave device may have its own allocation of operation modes to the 4 possible codes of these bits. for correct information about the operation the dev ice will perform, refer to the descriptions of the individual ics. for new designs the preferred allocations are given in table 35. bit 2 to bit 7; these bits act as 6 bit (special function) operational ic address, with bit 7 as msb and bit 2 as lsb. bit 7 to bit 5 act as system identification and bit 4 to bit 2 as identification of the device within the system.
january 1995 35 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 8.1.1.2 special function operational address handbook, halfpage 01234567 l3mode l3clk l3data mgb504 fig.17 data transfer mode. operational address 000000 (bit 2 to bit 7) is the special function address, and is used for the l3 device reset, as well as for the declaration and invalidation of the extended addressing. both will be explained in sections 8.1.2 and 8.1.3. 8.1.1.3 data mode in the data mode (see fig.17) the microcontroller sends or receives information to or from the selected device. during data transfer the l3mode line is high. the l3clk line is lowered 8 times during which the l3data line carries 8 bits. the information is presented lsb first and remains stable during the low phase of the l3clk signal. the preferred basic data transfer unit is an 8 bit byte. some implementations that are modifications of earlier circuits with 16 bit registers may use a basic unit of 16 bits, transferred as 2 bytes, with the most significant byte presented first. no other basic data transfer unit is allowed. 8.1.1.4 halt mode in between units the l3mode line will be driven low by the microcontroller to indicate the completion of a basic unit transfer. this is called halt mode (hm). during halt mode the l3clk line remains high (to distinguish it from an addressing mode). the halt mode allows an implementation of an interface module without a bit counter. however, an implementation using a bit counter in the interface module may allow for the l3mode line to be kept high in between units (not using the halt mode). this implementation must also operate correctly if the halt mode is used. the documentation of the device will have to indicate clearly whether or not the halt mode is necessary for correct operation of the interface. 8.1.2 d evice interface reset if the microcontroller sends an operational address 000000 with dom1 and dom0 also equal to 0 this indicates that none of the l3 interface devices is allowed to communicate with the microcontroller during the following data mode. this enables a different application of the l3clk and l3data lines as the l3 devices will not interfere with any communication on these lines as long as l3mode remains high (e.g. the l3clk and l3data lines are normally connected to usart circuits in the microcontrollers which allow for convenient communication between microcontrollers). any addressing mode with a valid l3 operational address will re-enable the communication with the corresponding device. devices with a fixed operational address (primary l3 devices) will react with a device reset condition regardless of the state of dom1 and dom0. devices with a programmable operational address (secondary l3 devices) can only be put in the interface reset condition if the dom1 and dom0 bits are 0. other combinations of dom1 and dom0 initiate data transfers for extended addressing. 8.1.3 e xtended addressing l3 devices with a programmable address can be informed of their operational address using a special data transfer.
january 1995 36 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 8.1.3.1 operational address declaration for the declaration (programming) of the operational address of an l3 device with a secondary l3 identification code the following actions are required: 1. first the microcontroller must issue an l3 operational address 000000 (special function address) with dom1 = 0 and dom0 = 1. this combination defines the operational address declaration operation. next the microcontroller will start a data transfer mode in which it first sends the secondary l3 identification code for the device that is to be issued an operational address, followed by a byte containing the operational address (the dom bits in this byte are don't cares). 2. next the microcontroller will start a data transfer mode in which it first sends the secondary l3 identification code for the device that is to be issued an operational address, followed by a byte containing the operational address (the dom bits in this byte are don't cares). a secondary l3 identification code is unique for any design. devices of the same design have the same identification code of one or more bytes. however, special designs may have a range of identification codes, one of which can be selected by a hardware solution, to enable the connection of more than one device of the same design to the l3 interface. it is also possible to use separate l3mode lines for multiple devices of the same design, but the same l3 identification code (this also enables parallel programming of these devices). bit 0 of any identification code byte will indicate whether or not an additional byte follows: bit 0 = 0; no additional byte as part of the identification code. bit 0 = 1; additional byte follows. with this the number of secondary l3 identification codes is (theoretically) unlimited. the operational address for the programmable device is preferable in the range 111000 to 111111. however, it is possible in a given application to issue any operational address that is not used to address primary l3 devices or other secondary l3 devices. an example is given in table 36. table 36 example of l3 devices; notes 1 to 4 notes 1. bits are shown in the order they appear on l3data (bit 0 first, bit 7 last). 2. x = bit of the identification code. 3. m = dom bit of operational address (dont care). 4. y = bit of the operational address. 8.1.3.2 operational address invalidation in order to re-allocate an operational address that has been allocated to a secondary l3 device it is possible to invalidate an operational address: first the microcontroller must issue an l3 operational address 000000 (special function address) with dom1 = 1 and dom0 = 0. this combination defines the operational address invalidation operation. next the microcontroller will start a data transfer mode in which it only sends the secondary l3 identification code for the device that will no longer be addressed. from this moment on the device will not be able to communicate with the microcontroller until it is issued a new operational address by an oa declaration (it will enter a device interface reset condition). remark: the combination of a special function address (000000) and dom1 and dom0 equal to 1 is reserved for future applications. designs based on this specification will react with a device interface reset. addressing mode data mode special address secondary l3 identification code operational address (one byte) byte 1 byte 2 byte 3 10000000 1xxxxxxx 1xxxxxxx 0xxxxxxxx mmyyyyyy
january 1995 37 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 8.1.4 e xample of a data transfer fig.18 example of transfer of 4 bytes. (1) l3clk is triggered by l3mode. (2) for more details (see fig.20). handbook, full pagewidth mgb506 address data byte 1 data byte 2 data byte 3 data byte 4 address l3mode l3clk l3data (1) (2) a data transfer starts when the microcontroller sends an address on the bus. all ics will evaluate this address, but only the ic addressed will be an active partner for the microcontroller in the following data transfer mode. during the data transfer mode bytes will be sent from or to the microcontroller. in this example the l3mode line is made low (halt mode) in between byte transfers. this is the default operation, although some ics may allow the l3mode line to be kept high. this exception must be specified clearly in the ic documentation, and such ics must be able to communicate with microcontrollers that make l3mode low in between transfers. it is suggested that new designs only use bytes as basic data transfer units. after the data transfer the microcontroller does not need to send a new address until a new data transfer is necessary. alternatively it may also send the special address 000000 to indicate the end of the data transfer operation. 8.1.5 t iming requirements these are requirements for the slave devices designed according to the 'l3' interface definitions. 8.1.5.1 addressing mode fig.19 addressing mode timing. handbook, full pagewidth mgb507 t d1 h2 cl t ch t h1 t su t t l3clk l3mode l3data
january 1995 38 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 37 requirements for addressing mode timing (see fig.19) 8.1.5.2 data mode table 38 requirements for data mode timing (see fig.20) symbol parameter requirement unit t d1 l3clk high to l3clk low delay time after l3mode low 3 190 ns t cl l3clk low time 3 250 ns t ch l3clk high time 3 250 ns t su1 l3data set-up time before l3clk high 3 190 ns t h1 l3data hold time after l3clk high 3 30 ns t h2 l3clk hold time before l3mode high 3 190 ns symbol parameter requirement unit t d1 l3clk high to l3clk low delay time after l3mode high 3 190 ns t cl l3clk low time 3 250 ns t ch l3clk high time 3 250 ns microcontroller to slave device t su1 l3data set-up time before l3clk high 3 190 ns t h1 l3data hold time after l3clk high 3 30 ns t h2 l3clk hold time before l3mode high 3 190 ns slave device to microcontroller t d2 l3data enable time after l3mode high 0 < t d2 50 ns t d3 l3data stable time after l3mode high 380 ns t h3 l3data hold time after l3clk high 3 50 ns t d4 l3data stable time after l3clk high 360 ns t d4 l3data stable time after l3clk high between bit 7 of a byte and bit 0 of next byte if no halt mode is used 530 ns t d5 l3data disable time after l3mode low 0 < t d5 50 ns fig.20 data mode timing. an dbook, full pagewidth mgb508 l3data microcontroller to ic t d1 h2 cl t ch t h1 t su t t d2 t d3 t h3 t d4 t d5 t l3data ic to microcontroller l3clk l3mode
january 1995 39 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 8.1.5.3 halt mode table 39 requirements for halt mode timing (see fig.21) symbol parameter requirement unit t d1 l3clk high to l3clk low delay time after l3mode high 3 190 ns t l l3mode low time 3 190 ns t h2 l3clk hold time before l3mode low 3 190 ns slave device to microcontroller t d2 l3data enable time after l3mode high 0 < t d2 50 ns t d5 l3data disable time after l3mode low 0 < t d5 50 ns fig.21 halt mode timing. handbook, full pagewidth mgb509 t l l3clk l3mode d5 t h2 t t d1 d2 t l3data ic to microcontroller 8.2 SAA2501 l3 protocol enhancement options the l3 interface on the SAA2501 is limited in speed, dictated both by the maximum SAA2501 handling speed and the upper frequencies of the l3 interfacing standard. on the other hand, the SAA2501 offers several enhancements to make a better use of the SAA2501 l3 interface capacity. the enhancements are optional. the applicant chooses whether to use them or not. 8.2.1 t esting l3rdy by polling l3data the host must test status flag l3rdy to make sure whether the SAA2501 l3 interface is ready to transfer data item bytes. according to the general protocol, described in section 7.20.6, the status is read by first writing the SAA2501 read status operational address, after which the status byte can be transferred. to avoid these status byte transfers (thus reducing the host's load), after writing the SAA2501 read status operational address, l3rdy is continuously copied to signal l3data during the period in which no l3 transfers (i.e. status byte readings) are performed. meanwhile, l3mode must be kept high (no l3 operational addresses may be written). as a result, l3rdy can be tested as shown in table 40.
january 1995 40 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 table 40 testing l3rdy by polling l3data; note 1 note 1. no status byte transfers are needed; the load of the host (microcontroller) can thus be reduced. l3data transfer source l3mode explanation 01100011 host 0 write read status operational address polled SAA2501 1 test l3data; repeat this step until l3data = 1 8.2.2 o ptions to increase the timing accuracy of the apu coefficient writing the SAA2501 offers three enhancements to increase the timing accuracy with which apu coefficients can be updated by the application: 1. status polling is not required when apu coefficients are written. l3 status flag l3rdy, when read anyhow, will always be high, indicating that the next apu coefficient transfer may be done. the transfer speed is only limited by the maximum allowed frequency of l3clk. as a result, also no write item data operational address is needed any more before writing each apu coefficient index. 2. normally, no more bytes may be written to a writeable data item than the length of that specific item. an exception is formed by the apu coefficients. they may be written continuously with a coefficient wrap. after the writing of all 4 coefficients, the writing can be continued at the first apu coefficient without having to write a new control byte. 3. the data item transfer protocol, described in section 7.20.6, although transparent, allows only for the reading or writing of data items from their first data byte onwards. this approach can lead to situations where e.g. 54 ancillary data item bytes must all be read (which takes at least 54 200 m s = 10.8 ms, due to the interface speed limitations: see section 7.20.6) before the next data item can be transferred. the SAA2501 enables the writing of apu coefficients without having to wait for the current item transfer to finish. in order to do so, a running transfer can be interrupted by an apu coefficient write transfer, and then be resumed with the continue current transfer control byte. an item transfer may be interrupted at any time to write apu coefficients. after the continue previous transfer control byte, a operational address must always follow, indicating the type of l3 transfer that will follow. an apu coefficient write transfer itself cannot be interrupted.
january 1995 41 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 the 3 mentioned options are all illustrated in table 41, where a data item transfer is interrupted between the reading of the n th and (n + 1) th data item byte. table 41 example of 3 options to increase the timing accuracy of the apu coef?cient writing note 1. explanation of bytes: a) dddddddd = data byte. b) ssssssss = status byte. l3data (1) transfer source l3mode explanation dddddddd SAA2501 1 read n th item data byte 01100010 host 0 indicate write control transfer 00000110 host 1 write write apu coef?cients control byte 01100000 host 0 indicate write item data transfer dddddddd host 1 write apu coef?cient ll dddddddd host 1 write apu coef?cient lr dddddddd host 1 write apu coef?cient rl dddddddd host 1 write apu coef?cient rr dddddddd host 1 write apu coef?cient ll dddddddd host 1 write apu coef?cient lr dddddddd host 1 write apu coef?cient rl dddddddd host 1 write apu coef?cient rr 01100010 host 0 indicate write control transfer 00000111 host 1 write continue previous transfer control byte 01100011 host 0 indicate read status transfer ssssssss SAA2501 1 read status; repeat this step until l3rdy = 1 01100001 host 0 indicate read item data transfer dddddddd SAA2501 1 read (n + 1) th item data byte etc. etc. etc. etc.
january 1995 42 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 9 limiting values in accordance with the absolute maximum rating system (iec 134) notes 1. input voltage should not exceed 6.5 v unless otherwise specified. 2. equivalent to discharging a 100 pf capacitor through a 1.5 k w series resistor. 3. equivalent to discharging a 200 pf capacitor through a 0 w series resistor. symbol parameter conditions min. max. unit v dd supply voltage - 0.5 +6.5 v v i input voltage note 1 - 0.5 v dd + 0.5 v i dd supply current - 100 ma i i input current - 10 ma i o output current 2 ma outputs - 10 ma 4 ma outputs - 20 ma p tot total power dissipation vdd = 5 v 5% - 165 mw t stg storage temperature - 65 +150 c t amb operating ambient temperature - 40 +85 c v es1 electrostatic handling note 2 - 2000 +2000 v v es2 electrostatic handling note 3 - 200 +200 v
january 1995 43 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 10 dc characteristics v dd =5v 10%; t amb = - 40 to +85 c; unless otherwise speci?ed notes 1. tdi, tms, trst and l3data not driven; tc0 and tc1 driven high; all other inputs driven low. 2. inputs trst, tck, tms and tdi are ttl level compatible; all other inputs are cmos level compatible. 3. input trst (pin 38) should be connected to ground for normal operation and connected to v dd for boundary scan testing. symbol parameter conditions min. typ. max. unit supply i dd quiescent supply current note 1 100 --m a inputs; notes 2 and 3 v ih high level input voltage (cmos) 0.7v dd - v dd v v il low level input voltage (cmos) 0 - 0.3v dd v v ih high level input voltage (ttl) 2 - v dd v v il low level input voltage (ttl) 0 - 0.8 v v tlh positive going threshold voltage (cmos schmitt trigger) -- 0.8v dd v v thl negative going threshold voltage (cmos schmitt trigger) 0.2v dd -- v v hys hysteresis voltage (cmos schmitt trigger) - 0.3v dd - v |i i | input current -- 5 m a r pull pull-up resistor 14 - 140 k w outputs v oh high level output voltage i o = 4 ma v dd - 0.5 -- v v ol low level output voltage i o =4ma -- 0.5 v |i oz | 3-state off-state leakage current -- 5 m a
january 1995 44 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 11 ac characteristics v dd =5v 10%; t amb = - 40 to +85 c; unless otherwise speci?ed symbol parameter conditions min. typ. max. unit clocks c i input capacitance -- 10 pf mclkin f clk clock frequency mclk24 = 1 - 24.576 - mhz mclk24 = 0 - 12.288 - mhz t r rise time - 12 - ns t f fall time - 12 - ns t h high time 12 -- ns t l low time 12 -- ns x22in f clk clock frequency - 22.579 - mhz t r rise time - 12 - ns t f fall time - 12 - ns t h high time 12 -- ns t l low time 12 -- ns fsclkin f clk clock frequency fsclk384 = 1 - 384f s - hz fsclk384 = 0 - 256f s - hz t r rise time note 1 - 5 - ns t f fall time note 1 - 5 - ns t h high time 12 -- ns t l low time 12 -- ns cdscl f clk clock frequency -- 768 khz t r rise time note 1 - 12 - ns t f fall time note 1 - 12 - ns t h high time note 2 t m +20 -- ns t l low time note 2 t m +20 -- ns cdmcl f clk clock frequency note 2 -- hz l3clk t h high time t m +10 -- ns t l low time t m +10 -- ns 1 8t m ---------- -
january 1995 45 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 fsclk f clk clock frequency msel = 00; fsclkm = 0; f s = 44.1 khz - 1 2 f x22in - mhz msel = 00; fsclkm = 0; f s = 48 khz - 1 2 f mclkin - mhz msel = 00; fsclkm = 0; f s = 32 khz - 1 3 f mclkin - mhz mclk f clk clock frequency - f mclkin - mhz sck f clk clock frequency fsclk384 = 0; f sck = 64f s - 1 4 f sclk - mhz fsclk384 = 1; f sck = 64f s - 1 6 f sclk - mhz inputs c i input capacitance -- 10 pf t su1 set-up time fdai to sck high c l <25pf 33 -- ns t su2 set-up time cdm and cdmef to cdmcl, cds, cdsef and cdswa high c l <25pf 42 -- ns t su3 set-up time cdssy to cdscl high t m +10 -- ns t d1 delay time l3mode to l3lck low 0 -- ns t h1 hold time fdai to sck high 0 -- ns t h2 hold time cdm, cdmef to cdmcl, cds, cdsef and cdswa high 0 -- ns t h3 hold time cdssy to cdscl high 10 -- ns t h4 input hold time 0 -- ns t l l3mode low time t m +10 -- ns outputs c o output capacitance -- 50 pf t h hold time sd, ws, fdao, fdfsy and fdef to sck low notes 3 and 4 - 22 -- ns t h hold time cdmws to cdmcl low notes 3 and 4 - 15 -- ns t d delay time sd, ws, fdao, fdfsy and fdef to cdmcl low note 3 -- 10 ns t d delay time cdmws to cdmcl low note 3 -- 0ns symbol parameter conditions min. typ. max. unit
january 1995 46 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 notes 1. short rise and fall times improve the tolerance of clocks to signal and supply noise. 2. if mclk24 = 1 then else . 3. to allow for the effects of load capacitance the timing values should be de-rated by 0.5 ns/pf. 4. for maximum clock signal load of 25 pf. 5. l3data to l3clk high. 6. l3data to l3mode high. inputs/outputs c o output capacitance -- 50 pf t su input set-up time note 5 t m +10 -- ns t h input hold time note 5 10 -- ns t h output hold time notes 3 and 5 t m -- ns t d output delay time notes 3 and 5 -- 2t m +30 ns t d2 3-state enable time notes 3 and 6 -- 20 ns t d3 3-state stable time notes 3 and 6 -- 20 ns t d5 3-state disable time l3data to l3mode low note 3 -- 20 ns symbol parameter conditions min. typ. max. unit t m 4 f mclkin -------------------- = t m 2 f mclkin -------------------- =
january 1995 47 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 12 application information handbook, full pagewidth 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 23 v ddd v dda mbe115 m f 1 w 10 k m f 100 right output 1 nf w 1 k w 10 k m f 100 left output w 1 k 1 nf sysclki deem1 n.c. sysclko n.c. test2 deem2 musb dsmb clks2 atsb clks1 vol data filtcl ws filtcr bck vor test1 tda1305 dac v ssa v ssd v ssd v ddo v sso v ref 5 v c c m h 4.7 c (1) 5 v 5 v c 5 v r r r r 23 urda cds cdsef cdscl cdswa cdssy cdm cdmef cdmcl cdmws gnd2 12 13 14 15 16 17 18 19 20 21 22 fsclkm fsclk384 mclk24 v dd2 trst tms tck tdo tdi tc0 tc1 44 43 42 41 40 39 38 37 36 35 34 gnd1 fsclk fsclkin x22out x22in mclk mclkout mclkin v dd1 6 7 8 9 10 11 2 3 4 51 reset stop l3mode l3data sd gnd3 fdef fdfsy fdao fdai sck ws 24 25 26 27 28 29 30 31 32 33 l3clk SAA2501 clock circuit 5 v c 5 v 5 v mpeg slave interface mpeg master interface l3 bus fs256 reset c fig.23 typical application diagram. c = 100 nf; r = 47 w .
january 1995 48 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 13 package outline handbook, full pagewidth x a b 10.1 9.9 12.9 12.3 0.15 m b 0.40 0.20 pin 1 index 1 44 34 33 23 22 11 0.40 0.20 0.15 m a 0.8 12 0.8 10.1 9.9 12.9 12.3 s 0.1 s seating plane 1.2 0.8 (4x) 1.2 0.8 (4x) 0.95 0.55 mbb944 - 2 detail x 0.85 0.75 0.25 0.14 2.10 1.70 0 to 10 o 1.85 1.65 0.25 0.05 fig.24 plastic quad flat package; 44 leads (lead length 1.3 mm); body 10 10 1.75 mm (qfp44; sot307-2). dimensions in mm.
january 1995 49 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 14 soldering 14.1 plastic quad ?at-packs 14.1.1 b ywave during placement and before soldering, the component must be fixed with a droplet of adhesive. after curing the adhesive, the component can be soldered. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. maximum permissible solder temperature is 260 c, and maximum duration of package immersion in solder bath is 10 s, if allowed to cool to less than 150 c within 6 s. typical dwell time is 4 s at 250 c. a modified wave soldering technique is recommended using two solder waves (dual-wave), in which a turbulent wave with high upward pressure is followed by a smooth laminar wave. using a mildly-activated flux eliminates the need for removal of corrosive residues in most applications. 14.1.2 b y solder paste reflow reflow soldering requires the solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the substrate by screen printing, stencilling or pressure-syringe dispensing before device placement. several techniques exist for reflowing; for example, thermal conduction by heated belt, infrared, and vapour-phase reflow. dwell times vary between 50 and 300 s according to method. typical reflow temperatures range from 215 to 250 c. preheating is necessary to dry the paste and evaporate the binding agent. preheating duration: 45 min at 45 c. 14.1.3 r epairing soldered joints ( by hand - held soldering iron or pulse - heated solder tool ) fix the component by first soldering two, diagonally opposite, end pins. apply the heating tool to the flat part of the pin only. contact time must be limited to 10 s at up to 300 c. when using proper tools, all other pins can be soldered in one operation within 2 to 5 s at between 270 and 320 c. (pulse-heated soldering is not recommended for so packages.) for pulse-heated solder tool (resistance) soldering of vso packages, solder is applied to the substrate by dipping or by an extra thick tin/lead plating before package placement. 15 definitions 16 life support applications these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips for any damages resulting from such improper use or sale. data sheet status objective speci?cation this data sheet contains target or goal speci?cations for product development. preliminary speci?cation this data sheet contains preliminary data; supplementary data may be published later. product speci?cation this data sheet contains ?nal product speci?cations. limiting values limiting values given are in accordance with the absolute maximum rating system (iec 134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information where application information is given, it is advisory and does not form part of the speci?cation.
january 1995 50 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 notes
january 1995 51 philips semiconductors preliminary speci?cation digital audio broadcast (dab) decoder SAA2501 notes
philips semiconductors philips semiconductors C a worldwide company argentina: ierod, av. juramento 1992 - 14.b, (1428) buenos aires, tel. (541)786 7633, fax. (541)786 9367 australia: 34 waterloo road, north ryde, nsw 2113, tel. (02)805 4455, fax. (02)805 4466 austria: triester str. 64, a-1101 wien, p.o. box 213, tel. (01)60 101-1236, fax. (01)60 101-1211 belgium: postbus 90050, 5600 pb eindhoven, the netherlands, tel. (31)40 783 749, fax. (31)40 788 399 brazil: rua do rocio 220 - 5 th floor, suite 51, cep: 04552-903-s?o paulo-sp, brazil. p.o. box 7383 (01064-970). tel. (011)821-2333, fax. (011)829-1849 canada: philips semiconductors/components: tel. (800) 234-7381, fax. (708) 296-8556 chile: av. santa maria 0760, santiago, tel. (02)773 816, fax. (02)777 6730 colombia: iprelenso ltda, carrera 21 no. 56-17, 77621 bogota, tel. (571)249 7624/(571)217 4609, fax. (571)217 4549 denmark: prags boulevard 80, pb 1919, dk-2300 copenhagen s, tel. (032)88 2636, fax. (031)57 1949 finland: sinikalliontie 3, fin-02630 espoo, tel. (9)0-50261, fax. (9)0-520971 france: 4 rue du port-aux-vins, bp317, 92156 suresnes cedex, tel. (01)4099 6161, fax. (01)4099 6427 germany: p.o. box 10 63 23, 20043 hamburg, tel. (040)3296-0, fax. (040)3296 213. greece: no. 15, 25th march street, gr 17778 tavros, tel. (01)4894 339/4894 911, fax. (01)4814 240 hong kong: philips hong kong ltd., 6/f philips ind. bldg., 24-28 kung yip st., kwai chung, n.t., tel. (852)424 5121, fax. (852)428 6729 india: philips india ltd, shivsagar estate, a block , dr. annie besant rd. worli, bombay 400 018 tel. (022)4938 541, fax. (022)4938 722 indonesia: philips house, jalan h.r. rasuna said kav. 3-4, p.o. box 4252, jakarta 12950, tel. (021)5201 122, fax. (021)5205 189 ireland: newstead, clonskeagh, dublin 14, tel. (01)640 000, fax. (01)640 200 italy: philips semiconductors s.r.l., piazza iv novembre 3, 20124 milano, tel. (0039)2 6752 2531, fax. (0039)2 6752 2557 japan: philips bldg 13-37, kohnan 2 -chome, minato-ku, tokyo 108, tel. (03)3740 5028, fax. (03)3740 0580 korea: (republic of) philips house, 260-199 itaewon-dong, yongsan-ku, seoul, tel. (02)794-5011, fax. (02)798-8022 malaysia: no. 76 jalan universiti, 46200 petaling jaya, selangor, tel. (03)750 5214, fax. (03)757 4880 mexico: 5900 gateway east, suite 200, el paso, tx 79905, tel. 9-5(800)234-7381, fax. (708)296-8556 netherlands: postbus 90050, 5600 pb eindhoven, bldg. vb tel. (040)783749, fax. (040)788399 new zealand: 2 wagener place, c.p.o. box 1041, auckland, tel. (09)849-4160, fax. (09)849-7811 norway: box 1, manglerud 0612, oslo, tel. (022)74 8000, fax. (022)74 8341 pakistan: philips electrical industries of pakistan ltd., exchange bldg. st-2/a, block 9, kda scheme 5, clifton, karachi 75600, tel. (021)587 4641-49, fax. (021)577035/5874546. philippines: philips semiconductors philippines inc, 106 valero st. salcedo village, p.o. box 2108 mcc, makati, metro manila, tel. (02)810 0161, fax. (02)817 3474 portugal: philips portuguesa, s.a., rua dr. antnio loureiro borges 5, arquiparque - miraflores, apartado 300, 2795 linda-a-velha, tel. (01)4163160/4163333, fax. (01)4163174/4163366. singapore: lorong 1, toa payoh, singapore 1231, tel. (65)350 2000, fax. (65)251 6500 south africa: s.a. philips pty ltd., 195-215 main road martindale, 2092 johannesburg, p.o. box 7430 johannesburg 2000, tel. (011)470-5911, fax. (011)470-5494. spain: balmes 22, 08007 barcelona, tel. (03)301 6312, fax. (03)301 42 43 sweden: kottbygatan 7, akalla. s-164 85 stockholm, tel. (0)8-632 2000, fax. (0)8-632 2745 switzerland: allmendstrasse 140, ch-8027 zrich, tel. (01)488 2211, fax. (01)481 77 30 taiwan: philips taiwan ltd., 23-30f, 66, chung hsiao west road, sec. 1. taipeh, taiwan roc, p.o. box 22978, taipei 100, tel. (02)388 7666, fax. (02)382 4382. thailand: philips electronics (thailand) ltd., 209/2 sanpavuth-bangna road prakanong, bangkok 10260, thailand, tel. (662)398-0141, fax. (662)398-3319. turkey: talatpasa cad. no. 5, 80640 gltepe/istanbul, tel. (0 212)279 2770, fax. (0212)269 3094 united kingdom: philips semiconductors ltd., 276 bath road, hayes, middlesex ub3 5bx, tel. (081)730-5000, fax. (081)754-8421 united states: 811 east arques avenue, sunnyvale, ca 94088-3409, tel. (800)234-7381, fax. (708)296-8556 uruguay: coronel mora 433, montevideo, tel. (02)70-4044, fax. (02)92 0601 for all other countries apply to: philips semiconductors, international marketing and sales, building be-p, p.o. box 218, 5600 md, eindhoven, the netherlands, telex 35000 phtcnl, fax. +31-40-724825 scd36 ? philips electronics n.v. 1994 all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. printed in the netherlands 513061/1500/01/pp52 date of release: january 1995 document order number: 9397 746 40011


▲Up To Search▲   

 
Price & Availability of SAA2501

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X